home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
_winCloseButtonStyle.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
1KB
|
43 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _winCloseButtonStyle
{
private static var _embed_css_win_close_over_png_911983067:Class = _winCloseButtonStyle__embed_css_win_close_over_png_911983067;
private static var _embed_css_win_close_down_png_916762023:Class = _winCloseButtonStyle__embed_css_win_close_down_png_916762023;
private static var _embed_css_win_close_up_png_1189512633:Class = _winCloseButtonStyle__embed_css_win_close_up_png_1189512633;
public function _winCloseButtonStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".winCloseButton");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration(".winCloseButton",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.upSkin = _embed_css_win_close_up_png_1189512633;
this.overSkin = _embed_css_win_close_over_png_911983067;
this.downSkin = _embed_css_win_close_down_png_916762023;
};
}
}
}
}